package com.wyy.service;

import com.wyy.beans.Role;
import com.wyy.common.Result;

import java.util.List;

public interface RoleService {

    Result<Role> addRole(Role role);

    Result<Role> updateRole(Role role);

    Result<Role> deleteRole(long rid);

    List<Role> getRoleByUserId(long uid);

    Result<Role> getRoleById(long rid);
}
